package com.yf.dxs.wo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yf.dxs.wo.redis.AbstractRedisMsg;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("wo_card_msg")
public class WoCardMsgDO extends AbstractRedisMsg {
    /**
     * ID
     */
    @TableId
    private Long id;
    /**
     * 消息ID
     */
    private String msgId;
    /**
     * 卡编号
     */
    private String cardNo;
    /**
     * 自定义卡号
     */
    private String customCardNo;
    /**
     * 查询时间
     */
    private Date obtainTime;
    /**
     * 用户ID
     */
    private Long wid;
    /**
     * 订阅状态
     *
     * 枚举 {@link TODO sub_status 对应的类}
     */
    private Integer subStatus;

    private Date createTime;

}
